<?php
use Workerman\WebServer;
use Workerman\Worker;

require_once __DIR__.'/Workerman/Autoloader.php';

$http_server = new WebServer('http://0.0.0.0:8080');
$http_server->addRoot('safe.tingtaosoft.com', __DIR__.'/www/safe/');
$http_server->count = 4;

Worker::runAll();
